<?php


namespace app\miniprogram\controller;


use app\model\AdminUser;

class User extends Base

{
    public function updateWxUserInfo()
    {
        $data = $this->request->post("userInfo");
        AdminUser::update($data, ['id' => $this->userInfo['id']]);
        return $this->buildSuccess("操作成功");
    }
}